package com.ruoyi;

import com.sunjob.common.feignInterceptor.FeignTokenInterceptor;
import com.sunjob.common.redisTemplateConfig.RedisTemplateConfig;
import com.sunjob.common.roleAndAuth.RoleAndAuthConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@EnableDiscoveryClient
@Import({RedisTemplateConfig.class, FeignTokenInterceptor.class})
@EnableFeignClients
public class MROAdminApplication
{
    public static void main(String[] args)
    {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(MROAdminApplication.class, args);
    }
}